To this day my post about socket programming in PHP was viewed 45.685 times.
It’s an article about the basics of socket programming in PHP, and how to get on the right track. I thought this was interesting.
Then I thought back, how I struggled with this concept when I started out programming, nearly 10 years ago. Servers are mindblowing at first.
- There are two ways to do this in PHP. And you have to discover the pleasant way yourself (it’s not the obvious one).
- You need to know some networking terminology to understand it properly, which is often omitted in programming books. Especially in books about programming in PHP.
- The PHP manual is often aweful to read. Good, simple, and tweakable examples are hard to come by.
- We are used to the fact that PHP starts from fresh memory on each request, servers are so entirely different.
So this sucks. Let’s fix this.
What if you had a book, that…
- …tells you the right way to approach socket programming in PHP.
- …starts bottom up, beginning with the basic networking terminology.
- …provides simple, tweakable examples, which you can use as a base for your stuff.
- …and has someone who is available for all your questions, if you are stuck.
The little PHP Socket Programming Handbook
Available NOW starting at just 29€ (probably way less than you make in an hour), your guide to building awesome things with sockets in PHP.
- 60+ page guide to socket programming in PHP
- Start with networking basics and work your way up with tweakable examples
- Signup for the mailing list and receive the entire first chapter free.
- DRM Free, PDF for easy reading on your computer, iPad or other tablet.
Buy now
- No bullshit DRM free PDF book, formated for reading on PC, iPad and other tablets.
- 60+ page guide to socket programming in PHP
- Tweakable examples
- Starts bottom up, beginning with networking basics up to multiprocessing and Async IO and frameworks.
- Only 29€, that’s less than a movie ticket, softdrink plus popcorn!